<template>
  <el-dialog :title="title"
             :visible.sync="dialogVisible"
             class="book-dialog"
             width="750px"
             :close-on-click-modal="false">

  </el-dialog>
</template>

<script>
import imageInput from '@/components/image-input'

export default {
  name: "index",
  data () {
    return {
      dialogVisible: false,
    }
  },
  components: {
    imageInput
  },
  computed: {
    title () {
      return '编辑文档目录'
    }
  },
  methods: {
    open () {
      this.dialogVisible = true
      return new Promise((resolve) => {
        this._resolve = resolve
      })
    },
    close () {
      this.dialogVisible = false
    },
    submit () {
    }
  }
}
</script>

<style scoped lang="scss">
.book-dialog {
  text-align: left;
}
.el-form {
  width: 600px;
}
.dialog-footer {
  text-align: center;
}
</style>
